package com.xbongbong.saas.domain.entity;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author: yingjf
 * @date: 2023/3/7 18:36
 * @description:
 */
@Getter
@Setter
public class ContractEditFileEntity implements Serializable {
    /**
     * 主键
     */
    private Long id;
    /**
     * 公司id
     */
    private String corpid;

    /**
     * 文件id
     */
    private String fileId;
    /**
     * 文件版本
     */
    private Integer fileVersion;


    /**
     * 文件名
     */
    private String fileName;
    /**
     * 文件url
     */
    private String fileUrl;
    /**
     * 文件扩展名
     */
    private String fileExt;
    /**
     * 文件大小
     */
    private Long fileSize;
    /**
     * 创建者id
     */
    private String creatorId;
    /**
     * 创建时间
     */
    private Long addTime;
    /**
     * 更新时间
     */
    private Long updateTime;
    /**
     * 删除标志
     */
    private int del;

    public ContractEditFileEntity() {
    }

    public ContractEditFileEntity(String corpid, String fileName, String fileUrl, String fileExt, Long fileSize, String creatorId) {
        this.corpid = corpid;
        this.fileName = fileName;
        this.fileUrl = fileUrl;
        this.fileExt = fileExt;
        this.fileSize = fileSize;
        this.creatorId = creatorId;
        this.del = 0;
    }
}
